package com.zky.gulimall.product;

/**
 * @Description TODO
 * @Author 张开源
 * @Date 2022/11/6 17:55
 * @Version 1.0
 **/
public class Singleton2 {

    private static Singleton2 singleton2=null;

    private Singleton2(){}

    public static Singleton2 getInstance(){
        if(singleton2==null){
           return new Singleton2();
        }
        return singleton2;
    }


}
